<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>time</title>
</head>
<body>
<div id="time" style="font-size:50px;"></div>
<script type="text/javascript">
setInterval(function(){
    var time = new Date();
    time = time.getTime()/1000;
    document.getElementById("time").innerHTML = time;
}, 100);
</script>
</body>
</html>
